﻿#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    //explicit MyPushButton(QWidget *parent = nullptr);
    // 参数一 正常显示路径 参数二 按下后显示图片路径
    MyPushButton(QString normalImg,QString btntxt="",QString pressImg="");
    //参数路径
    QString normalImagPath;
    QString pressImagPath;
    QString btntxt="";
    MyPushButton();
    //点击弹跳特效
    void zoom1();//向下跳
    void zoom2();//向上跳


signals:

};

#endif // MYPUSHBUTTON_H
